var redis = require("redis");
var pub = redis.createClient();
setInterval(function () {
  pub.publish("stock", JSON.stringify({
    message: '股票'
  }));
}, 2000)
